#ifndef FILEBROWSER_H
#define FILEBROWSER_H
#include <Q3ListBox>

class FileBrowser : public Q3ListBox
{
    Q_OBJECT
public:
    FileBrowser(const QString &filter, QWidget *parent = 0, const char *name = 0);
    void setDir(const QString &path);

signals:
    void picked(const QString &fileName);

private slots:
    void itemHighlighted(int index);
    void itemSelected(int index);

private:
    QString nameFilter;
    QString basePath;
};

#endif // FILEBROWSER_H
